using System;

namespace PSSymbolStore.Manager.Windows
{
    public static class Utilities
    {
        public static readonly string Logger = "PSSymbolStore.Manager.Windows";

        public static bool IsWindows7()
        {
            return Environment.OSVersion.Platform == PlatformID.Win32NT
                   && Environment.OSVersion.Version.Major >= 6
                   && Environment.OSVersion.Version.Minor >= 1;
        }

        public static string RunDirectory
        {
            get
            {
                return AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
            }
        }
    }
}